from datetime import datetime
from typing import Any, Optional
from pydantic import BaseModel, Field


class InfoOutSchema(BaseModel):
    id: Optional[str] = Field(title="网关唯一编号")
    name: Optional[str] = Field(title="网关名称")
    position: Optional[str] = Field(title="网关安装位置")
    version: Optional[str] = Field(title="网关版本号")
    watchEnable: Optional[bool] = Field(title="启用看门狗")
    watchIp: Optional[str] = Field(title="看门狗监测ip")
    watchFreq: Optional[int] = Field(title="看门狗监测频率")
